﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Manufacture.Domain
{
    /// <summary>
    /// 生产订单成品表
    /// </summary>
    [Table("ManufactureProduct")]
    public class ManufactureProduct:AuditFields
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? FinishedNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? SpecificationsModel { get; set; }
        /// <summary>
        /// 尺寸
        /// </summary>
        public string? Size { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }
        /// <summary>
        /// 计划量产
        /// </summary>
        public int? PlanProduction { get; set; }
        /// <summary>
        /// 交付日期
        /// </summary>
        public DateTime? DateReleased { get; set; }
        /// <summary>
        /// 车间
        /// </summary>
        public string? WorkShopName { get; set; }
        /// <summary>
        /// 工艺路线
        /// </summary>
        public string? ProcessRouteName { get; set; }
        /// <summary>
        /// 车间Id
        /// </summary>
        public int? WSId { get; set; }
        /// <summary>
        /// 工艺路线Id
        /// </summary>
        public int? PRId { get; set; }
        /// <summary>
        /// 成品Id
        /// </summary>
        public int? BId { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public int? OId { get; set; }
    }
}
